package com.zmh;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhoumh
 * @version 创建时间：2017年3月29日 下午4:38:00
 * @Description
 */
@Controller
public class Helloworld {
	@RequestMapping("/helloworld")
	public void helloWorld(HttpServletRequest request,
			HttpServletResponse response) throws IOException {
		response.getWriter().append("hello world");
	}
}
